/* ==========================================================================
   云枢 · V10 业务系统前端 / 用户中心模板
   设计语言取自 WorkBuddy：白底、细线、墨绿主色、扁平卡片、胶囊主按钮
   ========================================================================== */

:root {
  --green: #28b894;
  --green-deep: #009273;
  --green-soft: #eaf7f2;
  --green-soft-2: #f0fdf4;
  --green-border: #bbf7d0;
  --green-ink: #00745c;
  --green-ink-2: #166534;
  --green-tag-bg: #dcfce7;
  --green-tag-text: #16a34a;

  --blue: #2563eb;
  --blue-soft: #dbeafe;
  --amber: #f59e0b;
  --amber-soft: #fef3c7;

  --ink: #1a1a1a;
  --ink-2: #646464;
  --ink-3: rgba(0, 0, 0, 0.45);
  --ink-4: #999;
  --ink-5: #555;

  --line: #e5e5e5;
  --line-2: #ececec;
  --bg: #ffffff;
  --bg-2: #f7fafc;
  --bg-3: #fbfbfb;
  --bg-code: #1e293b;
  --bg-code-text: #e2e8f0;

  --warn: #b46a12;
  --warn-bg: #fdf4e4;
  --danger: #d63b3b;
  --danger-bg: #fdeeee;
  --danger-soft: #fee2e2;
  --danger-tag-text: #dc2626;
  --info: #4a5568;
  --info-bg: #f1f5f9;

  --r: 8px;
  --r-card: 12px;
  --r-lg: 16px;
  --pill: 999px;

  --nav-h: 64px;
  --container: 1200px;

  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  --mono: "SF Mono", "JetBrains Mono", "Cascadia Mono", Consolas, monospace;

  --shadow: 0 1px 0 rgba(16, 24, 40, 0.02), 0 10px 28px rgba(16, 24, 40, 0.05);
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);

  /* ═══ Status badges ═══ */
  --status-error-bg: #fee;
  --status-error-border: #fdd;
  --status-error-text: #900;
  --status-warn-text: #92400e;
  --status-warn-bg-yellow: #fff8e1;
  --status-warn-border-yellow: #ffd54f;
  --status-warn-text-yellow: #8d6e00;

  /* ═══ Neutral grays ═══ */
  --neutral-2: #cbd5e1;
  --neutral-3: #94a3b8;
  --neutral-4: #475569;
  --neutral-5: #334155;
  --neutral-6: #888;
  --line-gray: #ddd;
  --bg-slate: #f9f9fb;

  /* ═══ Code block tokens（--bg-code 已是 dark，此组不随主题变）═══ */
  --code-green: #6ee7b7;
  --code-cyan: #a5f3fc;
  --code-purple: #a5b4fc;
  --code-pink: #f0abfc;
  --code-yellow: #fcd34d;
  --code-amber: #fbbf24;
  --code-slate: #475569;
  --code-bg: #0f172a;

  /* ═══ Accent colors ═══ */
  --accent-green: #22c55e;
  --accent-blue-deep: #1d4ed8;
  --accent-blue-deeper: #1e40af;
  --accent-blue-deepest: #1e3a8a;
  --accent-purple: #7c3aed;
  --accent-indigo: #4338ca;

  /* ═══ Soft tints ═══ */
  --tint-blue: #eff6ff;
  --tint-indigo: #e0e7ff;
  --tint-red-dark: #7c2d12;

  /* ═══ Other ═══ */
  --warn-deep: #c07c00;
  --on-accent: #fff;
  --tint-purple: #fdf4ff;
  --accent-blue: #6366f1;
  --bg-slate-2: #f8fafc;
  --tint-amber: #fdf4e4;
  --indigo-soft: #c7d2fe;
  --dark-indigo: #1e1b4b;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
svg.icon { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

::selection { background: rgba(40, 184, 148, 0.18); }

/* ---------- 排版 ---------- */
.h1 { font-size: clamp(34px, 3.4vw, 48px); line-height: 1.18; font-weight: 500; letter-spacing: -0.02em; margin: 0; }
.h2 { font-size: clamp(26px, 2.4vw, 32px); line-height: 1.3; font-weight: 400; letter-spacing: -0.01em; margin: 0; }
.h3 { font-size: 22px; line-height: 1.45; font-weight: 400; margin: 0; }
.h4 { font-size: 17px; line-height: 1.5; font-weight: 500; margin: 0; }
.lead { font-size: 17px; line-height: 1.7; color: var(--ink-2); margin: 0; }
.muted { color: var(--ink-2); }
.hint { font-size: 13.5px; color: var(--ink-3); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: 0.08em; color: var(--green-ink);
  text-transform: uppercase; font-weight: 500;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: 0.7; }

/* ---------- 布局 ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head .h2 { margin-top: 12px; }
.section-head .lead { margin-top: 16px; }
.grid { display: grid; gap: 20px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.row { display: flex; align-items: center; gap: 12px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.divider { height: 1px; background: var(--line-2); border: 0; margin: 0; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 50;
  display: flex; align-items: center;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.nav-inner { display: flex; align-items: center; gap: 24px; width: 100%; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.01em; font-size: 17px; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 8px;
  background: var(--green); color: #fff;
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-link {
  padding: 8px 12px; border-radius: var(--pill); font-size: 14.5px; color: var(--ink-2);
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}
.nav-link:hover { color: var(--ink); background: rgba(0, 0, 0, 0.04); }
.nav-link.active { color: var(--ink); font-weight: 500; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; }
.nav-links.open {
  display: flex; position: absolute; top: var(--nav-h); left: 0; right: 0;
  flex-direction: column; align-items: stretch; gap: 2px; margin: 0;
  padding: 10px 16px 16px; background: #fff; border-bottom: 1px solid var(--line-2);
}
.nav-links.open .nav-link { padding: 12px; }
@media (min-width: 1025px) {
  .nav-links.open { position: static; flex-direction: row; padding: 0; border: 0; background: transparent; }
}

/* ---------- 顶栏控件 ---------- */
.icon-btn {
  width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 9px;
  background: #fff; color: var(--ink-2); display: grid; place-items: center; cursor: pointer;
  transition: border-color 0.16s var(--ease), color 0.16s var(--ease);
}
.icon-btn:hover { border-color: #cfcfcf; color: var(--ink); }
.avatar {
  width: 32px; height: 32px; border-radius: 50%; background: var(--green-soft);
  color: var(--green-ink); display: grid; place-items: center; font-size: 12.5px; font-weight: 600;
}
.user-chip { display: flex; align-items: center; gap: 9px; padding: 4px 10px 4px 4px; border-radius: var(--pill); cursor: pointer; }
.user-chip:hover { background: rgba(0, 0, 0, 0.04); }
.balance-pill {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: var(--pill); font-size: 13px; color: var(--ink-2);
}
.balance-pill b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.topbar-search { width: 240px; }

/* ---------- 用户中心布局 ---------- */
.console-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.list-item { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.list-item:last-child { border-bottom: 0; }
.list-item .li-main { min-width: 0; flex: 1; }
.list-item .li-title { font-size: 14px; }
.list-item .li-sub { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.todo { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.todo:last-child { border-bottom: 0; }
.todo-mark { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--warn-bg); color: var(--warn); flex: none; }
.todo-mark.ok { background: var(--green-soft); color: var(--green-ink); }
.todo p { margin: 0; font-size: 14px; }
.todo span { font-size: 12.5px; color: var(--ink-3); }

.timeline { position: relative; padding-left: 20px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.t-item { position: relative; padding: 0 0 18px; font-size: 13.5px; }
.t-item:last-child { padding-bottom: 0; }
.t-item::before {
  content: ""; position: absolute; left: -20px; top: 5px; width: 9px; height: 9px;
  border-radius: 50%; background: #fff; border: 2px solid var(--line);
}
.t-item.done::before { border-color: var(--green); background: var(--green); }
.t-item.now::before { border-color: var(--green); box-shadow: 0 0 0 4px rgba(40, 184, 148, 0.14); }
.t-item b { display: block; font-weight: 500; font-size: 13.5px; }
.t-item span { color: var(--ink-3); font-size: 12.5px; }

.notice {
  display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r);
  background: var(--green-soft); color: var(--green-ink); font-size: 13px; line-height: 1.6;
}
.notice.warn { background: var(--warn-bg); color: var(--warn); }
.notice .icon { width: 16px; height: 16px; margin-top: 2px; }

.promo {
  border-radius: var(--r-card); padding: 20px;
  background: linear-gradient(160deg, #eefaf5, #f8fdfb); border: 1px solid rgba(40, 184, 148, 0.2);
}
.promo h4 { font-size: 15px; margin: 0 0 6px; }
.promo p { font-size: 13px; color: var(--ink-2); margin: 0 0 14px; line-height: 1.6; }

@media (max-width: 1280px) {
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .console-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .stat-grid { grid-template-columns: 1fr; }
  .topbar-search { display: none; }
  .balance-pill { display: none; }
}

/* ---------- 通用单元格 ---------- */
.li-title { font-size: 14px; line-height: 1.45; }
.li-sub, .sub { font-size: 12.5px; color: var(--ink-3); line-height: 1.5; margin-top: 2px; }
.badge-info { background: var(--info-bg); color: var(--info); }
.console-main { max-width: 1440px; }
.auth-tabs .tab { flex: 1; text-align: center; }
.auth .brand { font-size: 16px; }
.row > .input { flex: 1; min-width: 0; }
@media (max-width: 1024px) {
  .nav-links.open {
    display: flex; position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; margin: 0; padding: 10px 16px 16px;
    background: #fff; border-bottom: 1px solid var(--line-2);
  }
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 20px; border-radius: var(--pill);
  border: 1px solid transparent; background: transparent;
  font-size: 14.5px; font-weight: 500; color: var(--ink); cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-deep); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: #c9c9c9; background: #fafafa; }
.btn-ghost { color: var(--ink-2); }
.btn-ghost:hover { background: rgba(0, 0, 0, 0.045); color: var(--ink); }
.btn-sm { height: 32px; padding: 0 14px; font-size: 13.5px; }
.btn-lg { height: 48px; padding: 0 28px; font-size: 15.5px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.link-more { display: inline-flex; align-items: center; gap: 6px; color: var(--green-ink); font-size: 14.5px; font-weight: 500; }
.link-more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 卡片 ---------- */
.card {
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-card);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.card:hover { border-color: #dedede; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.card-pad { padding: 24px; }
.card-head {
  padding: 16px 20px; border-bottom: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.card-head h3, .card-head h4 { margin: 0; font-size: 15px; font-weight: 500; }
.card-body { padding: 20px; }
.card-flat { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r-card); }

.media {
  border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(180deg, #fbfdfc 0%, #f4faf8 100%);
  display: grid; place-items: center; min-height: 220px;
}

/* ---------- 徽章 ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 10px; border-radius: var(--pill);
  font-size: 12.5px; font-weight: 500; background: var(--info-bg); color: var(--info);
  white-space: nowrap;
}
.badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.badge-green { background: var(--green-soft); color: var(--green-ink); }
.badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.badge-neutral { background: #f4f4f4; color: var(--ink-2); }
.badge-plain::before { display: none; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 6px; background: #f5f5f5; color: var(--ink-2); font-size: 12.5px; }
.tag-green { background: var(--green-soft); color: var(--green-ink); }

/* ---------- 表单 ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.label { font-size: 13.5px; color: var(--ink-2); }
.input, .select, .textarea {
  width: 100%; height: 40px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: var(--r); background: #fff;
  font-family: inherit; font-size: 14.5px; color: var(--ink);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.textarea { height: auto; min-height: 96px; padding: 10px 12px; resize: vertical; line-height: 1.6; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(40, 184, 148, 0.14); }
.input::placeholder { color: #a8a8a8; }
.input-sm, .select-sm { height: 34px; font-size: 13.5px; border-radius: 7px; }
.search { position: relative; }
.search .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }
.search .input { padding-left: 36px; }
.switch { position: relative; width: 40px; height: 22px; border-radius: var(--pill); background: #d9d9d9; border: 0; cursor: pointer; transition: background 0.2s var(--ease); flex: none; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform 0.2s var(--ease); }
.switch.on { background: var(--green); }
.switch.on::after { transform: translateX(18px); }

/* ---------- 表格 ---------- */
.table-wrap { width: 100%; overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
  text-align: left; font-weight: 500; font-size: 12.5px; color: var(--ink-3);
  padding: 12px 16px; background: #fafafa; border-bottom: 1px solid var(--line-2);
  white-space: nowrap;
}
.table td { padding: 14px 16px; border-bottom: 1px solid var(--line-2); color: var(--ink); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #fcfcfc; }
.table .num { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.table .actions { text-align: right; white-space: nowrap; }
.table-empty { padding: 56px 20px; text-align: center; color: var(--ink-3); }

/* ---------- Tab ---------- */
.tabs { display: flex; align-items: center; gap: 24px; border-bottom: 1px solid var(--line-2); }
.tab {
  position: relative; padding: 12px 0; font-size: 14.5px; color: var(--ink-2);
  background: none; border: 0; cursor: pointer;
}
.tab:hover { color: var(--ink); }
.tab.active { color: var(--ink); font-weight: 500; }
.tab.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--green); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  height: 32px; padding: 0 14px; border-radius: var(--pill); border: 1px solid var(--line);
  background: #fff; font-size: 13.5px; color: var(--ink-2); cursor: pointer;
}
.chip:hover { border-color: #cfcfcf; color: var(--ink); }
.chip.active { background: var(--green-soft); border-color: rgba(40, 184, 148, 0.35); color: var(--green-ink); font-weight: 500; }

/* ---------- 统计卡 ---------- */
.stat { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-card); padding: 20px; }
.stat-label { font-size: 13px; color: var(--ink-3); display: flex; align-items: center; gap: 8px; }
.stat-value { font-size: 30px; line-height: 1.2; font-weight: 500; letter-spacing: -0.02em; margin-top: 10px; font-variant-numeric: tabular-nums; }
.stat-foot { margin-top: 10px; font-size: 12.5px; color: var(--ink-3); display: flex; align-items: center; gap: 6px; }
.up { color: var(--green-ink); }
.down { color: var(--danger); }

/* ---------- 用户中心骨架 ---------- */
.console { background: var(--bg-3); min-height: 100vh; }
.console-nav { position: fixed; }
.console-body { display: flex; padding-top: var(--nav-h); min-height: 100vh; }
.sidebar {
  position: fixed; top: var(--nav-h); left: 0; bottom: 0; width: 232px;
  background: #fff; border-right: 1px solid var(--line-2);
  padding: 18px 12px; overflow-y: auto; z-index: 40;
}
.sidebar::-webkit-scrollbar { width: 5px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.sidebar::-webkit-scrollbar-thumb:hover { background: #ccc; }

.nav-group { margin-bottom: 6px; }
.nav-group-title {
  font-size: 11px; letter-spacing: 0.1em; color: var(--ink-4);
  padding: 14px 12px 6px; margin-bottom: 0; text-transform: uppercase;
  font-weight: 600; user-select: none;
}
.snav {
  position: relative;
  display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 12px;
  margin: 1px 0;
  border-radius: 7px; color: var(--ink-2); font-size: 13.5px;
  transition: background 0.14s var(--ease), color 0.14s var(--ease);
}
.snav:hover { background: #f5f6f8; color: var(--ink); }
.snav .ico-dashboard, .snav .ico-products, .snav .ico-upstreams,
.snav .ico-orders, .snav .ico-services, .snav .ico-users,
.snav .ico-payment, .snav .ico-statements, .snav .ico-tickets,
.snav .ico-settings, .snav .ico-coupons, .snav .ico-compliance,
.snav .ico-automation, .snav .ico-manual-tasks, .snav .ico-agents,
.snav .ico-api-token, .snav .ico-notifications, .snav .ico-key,
.snav .ico-lock, .snav .ico-menu, .snav .ico-book {
  width: 16px; height: 16px; flex: none; display: inline-grid;
  place-items: center; opacity: 0.75;
  transition: opacity 0.14s var(--ease);
}
.snav:hover .ico-dashboard, .snav:hover .ico-products, .snav:hover .ico-upstreams,
.snav:hover .ico-orders, .snav:hover .ico-services, .snav:hover .ico-users,
.snav:hover .ico-payment, .snav:hover .ico-statements, .snav:hover .ico-tickets,
.snav:hover .ico-settings, .snav:hover .ico-coupons, .snav:hover .ico-compliance,
.snav:hover .ico-automation, .snav:hover .ico-manual-tasks, .snav:hover .ico-agents,
.snav:hover .ico-api-token, .snav:hover .ico-notifications, .snav:hover .ico-key,
.snav:hover .ico-lock, .snav:hover .ico-menu, .snav:hover .ico-book {
  opacity: 1;
}
.snav.active {
  background: var(--green-soft); color: var(--green-deep); font-weight: 500;
}
.snav.active::before {
  content: ""; position: absolute; left: -12px; top: 7px; bottom: 7px;
  width: 3px; border-radius: 0 3px 3px 0; background: var(--green);
}
.snav.active .ico-dashboard, .snav.active .ico-products, .snav.active .ico-upstreams,
.snav.active .ico-orders, .snav.active .ico-services, .snav.active .ico-users,
.snav.active .ico-payment, .snav.active .ico-statements, .snav.active .ico-tickets,
.snav.active .ico-settings, .snav.active .ico-coupons, .snav.active .ico-compliance,
.snav.active .ico-automation, .snav.active .ico-manual-tasks, .snav.active .ico-agents,
.snav.active .ico-api-token, .snav.active .ico-notifications, .snav.active .ico-key,
.snav.active .ico-lock, .snav.active .ico-menu, .snav.active .ico-book {
  opacity: 1; color: var(--green-deep);
}
.snav .count { margin-left: auto; font-size: 12px; background: var(--danger); color: #fff; border-radius: var(--pill); padding: 0 7px; line-height: 18px; }
.console-main { flex: 1; margin-left: 232px; padding: 28px 32px 64px; min-width: 0; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.page-title { font-size: 24px; font-weight: 500; letter-spacing: -0.01em; margin: 0; }
.page-sub { color: var(--ink-2); font-size: 14px; margin: 6px 0 0; }
.crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); margin-bottom: 10px; }
.crumb a:hover { color: var(--ink); }
.view { display: none; }
.view.active { display: block; animation: fade 0.28s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ---------- 首页 ---------- */
.hero { padding: 132px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; }
.hero .h1 { margin-top: 18px; }
.hero .lead { margin-top: 20px; max-width: 520px; font-size: 17.5px; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 20px; margin-top: 28px; flex-wrap: wrap; color: var(--ink-3); font-size: 13px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta .icon { color: var(--green-deep); width: 16px; height: 16px; }

.console-mock {
  border: 1px solid var(--line-2); border-radius: var(--r-lg); background: #fff;
  box-shadow: var(--shadow); overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line-2); background: #fcfcfc; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #e2e2e2; }
.mock-body { display: grid; grid-template-columns: 150px 1fr; min-height: 320px; }
.mock-side { border-right: 1px solid var(--line-2); padding: 12px; background: #fcfdfd; }
.mock-side .m-item { height: 30px; border-radius: 6px; background: #f3f3f3; margin-bottom: 8px; }
.mock-side .m-item.on { background: var(--green-soft); }
.mock-main { padding: 16px; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.mock-stat { border: 1px solid var(--line-2); border-radius: 8px; padding: 10px; }
.mock-stat b { display: block; font-size: 16px; font-weight: 600; }
.mock-stat span { font-size: 10px; color: var(--ink-3); }
.mock-row { height: 34px; border-bottom: 1px solid #f2f2f2; display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--ink-2); }
.mock-pill { height: 16px; padding: 0 8px; border-radius: 999px; background: var(--green-soft); color: var(--green-ink); font-size: 9px; display: inline-flex; align-items: center; }
.mock-chart { display: flex; align-items: flex-end; gap: 6px; height: 76px; margin-top: 12px; }
.mock-chart i { flex: 1; background: linear-gradient(180deg, rgba(40, 184, 148, 0.35), rgba(40, 184, 148, 0.12)); border-radius: 4px 4px 0 0; }

.logo-strip { border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); padding: 22px 0; }
.logo-strip .row-between { color: #9a9a9a; font-size: 13px; }
.logo-items { display: flex; gap: 32px; flex-wrap: wrap; font-size: 14.5px; color: #8a8a8a; }
.logo-items span { display: inline-flex; align-items: center; gap: 8px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; }
.feature { background: #fff; padding: 28px; min-height: 190px; }
.feature .icon-wrap { width: 36px; height: 36px; border-radius: 10px; background: var(--green-soft); color: var(--green-ink); display: grid; place-items: center; margin-bottom: 16px; }
.feature h4 { font-size: 16px; font-weight: 500; margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.7; }

.split-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; }
.split-card > div { padding: 28px; }
.split-card .left { border-right: 1px solid var(--line-2); background: #fff; }
.split-card .right { background: var(--bg-2); }
.mini-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.mini-table td { padding: 9px 0; border-bottom: 1px dashed #ebebeb; color: var(--ink-2); }
.mini-table td:last-child { text-align: right; font-family: var(--mono); color: var(--ink); }
.mini-table tr:last-child td { border-bottom: 0; }

.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: s; }
.flow-step { position: relative; padding: 18px; border: 1px solid var(--line-2); border-radius: var(--r-card); background: #fff; }
.flow-step::before { counter-increment: s; content: "0" counter(s); font-family: var(--mono); font-size: 11px; color: var(--green-ink); }
.flow-step h4 { margin: 10px 0 6px; font-size: 14.5px; font-weight: 500; }
.flow-step p { margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.6; }

.cta-band { background: var(--green-soft); border: 1px solid rgba(40, 184, 148, 0.22); border-radius: var(--r-lg); padding: 44px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }

.footer { border-top: 1px solid var(--line-2); padding: 48px 0 32px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer h5 { font-size: 13px; font-weight: 500; margin: 0 0 12px; color: var(--ink); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer li a { font-size: 13.5px; color: var(--ink-2); }
.footer li a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-2); font-size: 12.5px; color: var(--ink-3); flex-wrap: wrap; }

/* ---------- 商品 ---------- */
.store-top { padding: 104px 0 24px; }
.store-layout { display: grid; grid-template-columns: 224px minmax(0, 1fr); gap: 28px; align-items: start; }
.filter-card { position: sticky; top: 88px; }
.filter-block { padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.filter-block:last-child { border-bottom: 0; }
.filter-title { font-size: 13px; color: var(--ink-3); margin-bottom: 10px; }
.check { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); padding: 5px 0; cursor: pointer; }
.check input { accent-color: var(--green); width: 15px; height: 15px; }
.sortbar { display: flex; align-items: center; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); margin-bottom: 20px; }
.sortbar .tabs { border-bottom: 0; flex: 1; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-card); overflow: hidden; transition: border-color 0.2s var(--ease), transform 0.2s var(--ease); }
.pcard:hover { border-color: #d9d9d9; transform: translateY(-2px); }
.pcard-visual { height: 120px; background: linear-gradient(135deg, #f2faf7, #eaf7f2); display: grid; place-items: center; color: rgba(0, 116, 92, 0.5); border-bottom: 1px solid var(--line-2); }
.pcard-visual .icon { width: 34px; height: 34px; stroke-width: 1.2; }
.pcard-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.pcard-title { font-size: 15px; font-weight: 500; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pcard-spec { font-size: 12.5px; color: var(--ink-2); line-height: 1.7; }
.pcard-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 6px; }
.price { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.price small { font-size: 12px; color: var(--ink-3); font-weight: 400; margin-left: 2px; }

/* ---------- 商品详情 ---------- */
.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.buybox { position: sticky; top: 88px; }
.spec-group { padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.spec-group:last-of-type { border-bottom: 0; }
.spec-label { font-size: 13.5px; color: var(--ink-2); margin-bottom: 10px; display: flex; justify-content: space-between; }
.spec-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.spec-opt { border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; cursor: pointer; background: #fff; text-align: left; transition: border-color 0.16s var(--ease), background 0.16s var(--ease); }
.spec-opt:hover { border-color: #cfcfcf; }
.spec-opt.active { border-color: var(--green); background: var(--green-soft); }
.spec-opt b { display: block; font-size: 13.5px; font-weight: 500; }
.spec-opt span { font-size: 11.5px; color: var(--ink-3); }
.summary-row { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--ink-2); padding: 7px 0; }
.summary-total { display: flex; align-items: baseline; justify-content: space-between; padding-top: 12px; margin-top: 8px; border-top: 1px solid var(--line-2); }
.delivery-note { display: flex; gap: 8px; padding: 10px 12px; border-radius: var(--r); background: var(--warn-bg); color: var(--warn); font-size: 12.5px; line-height: 1.6; }

/* ---------- 登录 ---------- */
.auth { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 100vh; }
.auth-side { background: linear-gradient(160deg, #f0faf6 0%, #e6f6f0 60%, #f7fbfa 100%); padding: 48px; display: flex; flex-direction: column; justify-content: space-between; }
.auth-main { display: grid; place-items: center; padding: 40px 24px; }
.auth-card { width: 100%; max-width: 380px; }
.auth-card .h2 { margin-bottom: 8px; font-size: 26px; }
.auth-tabs { display: flex; gap: 24px; margin: 28px 0 24px; border-bottom: 1px solid var(--line-2); }
.auth-foot { margin-top: 20px; font-size: 13px; color: var(--ink-3); text-align: center; }

/* ---------- 工具 ---------- */
.progress { height: 6px; border-radius: 999px; background: #eee; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--green); border-radius: 999px; }
.empty {
  text-align: center; padding: 48px 20px; color: var(--ink-3);
}
.empty .icon { width: 36px; height: 36px; margin-bottom: 14px; color: #c0c0c0; opacity: 0.7; }
.empty h4 { font-size: 14.5px; color: var(--ink-2); margin: 0 0 6px; font-weight: 500; }
.empty p { font-size: 13px; color: var(--ink-4); margin: 0; line-height: 1.5; }

/* ---------- 后台通用表格 ---------- */
.admin-table {
  width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px;
}
.admin-table thead th {
  background: var(--bg-2); color: var(--ink-2); font-weight: 500; font-size: 12.5px;
  padding: 10px 14px; text-align: left; letter-spacing: 0.02em;
  border-bottom: 1px solid var(--line-2); border-top: 1px solid var(--line-2);
  position: sticky; top: 0; z-index: 1;
}
.admin-table thead th:first-child { border-top-left-radius: 8px; border-left: 1px solid var(--line-2); }
.admin-table thead th:last-child { border-top-right-radius: 8px; border-right: 1px solid var(--line-2); }
.admin-table tbody td {
  padding: 12px 14px; border-bottom: 1px solid var(--line-2); color: var(--ink);
  vertical-align: middle;
}
.admin-table tbody tr:hover td { background: #fafbfc; }
.admin-table tbody tr:last-child td:first-child { border-bottom-left-radius: 8px; }
.admin-table tbody tr:last-child td:last-child { border-bottom-right-radius: 8px; }
.admin-table .col-actions { text-align: right; white-space: nowrap; }
.admin-table .col-actions a, .admin-table .col-actions button {
  margin-left: 8px; font-size: 12.5px; color: var(--green-ink);
  background: none; border: none; cursor: pointer; padding: 0;
}
.admin-table .col-actions a:hover, .admin-table .col-actions button:hover { text-decoration: underline; }
.toast {
  position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 12px);
  background: rgba(26, 26, 26, 0.94); color: #fff; font-size: 13.5px;
  padding: 10px 18px; border-radius: var(--pill); opacity: 0; pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease); z-index: 100;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.modal-mask { position: fixed; inset: 0; background: rgba(20, 20, 20, 0.32); display: none; place-items: center; z-index: 90; padding: 24px; }
.modal-mask.open { display: grid; }
.modal { width: 100%; max-width: 440px; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.modal-head { padding: 20px 24px; border-bottom: 1px solid var(--line-2); display: flex; justify-content: space-between; align-items: center; }
.modal-body { padding: 24px; }
.modal-foot { padding: 16px 24px 24px; display: flex; justify-content: flex-end; gap: 10px; }
.amount-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.amount-chip { height: 44px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; font-size: 14px; cursor: pointer; }
.amount-chip.active { border-color: var(--green); background: var(--green-soft); color: var(--green-ink); font-weight: 500; }
.stepper { display: flex; gap: 8px; }
.stepper button { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 6px; background: #fff; cursor: pointer; }

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .console-main { padding: 24px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-layout { grid-template-columns: 1fr; }
  .buybox { position: static; }
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 112px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sidebar { transform: translateX(-100%); transition: transform 0.24s var(--ease); box-shadow: var(--shadow); }
  .sidebar.open { transform: none; }
  .console-main { margin-left: 0; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .store-layout { grid-template-columns: 1fr; }
  .filter-card { position: static; }
  .auth { grid-template-columns: 1fr; }
  .auth-side { display: none; }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .split-card { grid-template-columns: 1fr; }
  .split-card .left { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .flow { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .console-main { padding: 18px 16px 48px; }
  .stat-value { font-size: 24px; }
  .tabs { overflow-x: auto; }
  .modal { max-width: 100%; }
  .spec-options { grid-template-columns: repeat(2, 1fr); }
}

/* 移动端侧栏开关与顶栏约束 */
.sidebar-toggle { display: none; }
@media (max-width: 1024px) {
  .sidebar-toggle { display: inline-flex; }
  .console-nav .nav-inner { height: var(--nav-h); overflow: hidden; }
  .console-nav .hint { display: none; }
  .console-main { padding-top: 20px; }
}

/* ════════════════════════════════════════════════════════════
   Dark Mode 渐进增强（对标 Blesta 6 Bootstrap 5 Paradigm）
   只覆盖 CSS 变量，不改任何全局类定义。
   240 处内联 style 硬编码颜色（#f0fdf4 / #ef4444 等）不在覆盖范围内，
   接受这些页面在 dark 模式下仍显示浅色背景，作为渐进增强交付。
   ════════════════════════════════════════════════════════════ */

[data-theme="dark"] {
  --green: #3dd6a5;
  --green-deep: #14b891;
  --green-soft: #0d3d32;
  --green-soft-2: #0d3d32;
  --green-border: #065f46;
  --green-ink: #6ee7c4;
  --green-ink-2: #6ee7c4;
  --green-tag-bg: #065f46;
  --green-tag-text: #86efac;

  --blue: #60a5fa;
  --blue-soft: #1e3a5f;
  --amber: #fbbf24;
  --amber-soft: #422a0a;

  --ink: #e5e7eb;
  --ink-2: #9ca3af;
  --ink-3: rgba(255, 255, 255, 0.45);
  --ink-4: #6b7280;
  --ink-5: #9ca3af;

  --line: #374151;
  --line-2: #2b3139;
  --bg: #111827;
  --bg-2: #1f2937;
  --bg-3: #1a2230;
  --bg-code: #0f172a;
  --bg-code-text: #cbd5e1;

  --warn: #fbbf24;
  --warn-bg: #422a0a;
  --danger: #f87171;
  --danger-bg: #3a1a1a;
  --danger-soft: #3a1a1a;
  --danger-tag-text: #fca5a5;
  --info: #a5b4fc;
  --info-bg: #1e293b;

  --shadow: 0 1px 0 rgba(0, 0, 0, 0.3), 0 10px 28px rgba(0, 0, 0, 0.4);

  /* ═══ Status badges ═══ */
  --status-error-bg: #3a1a1a;
  --status-error-border: #7f1d1d;
  --status-error-text: #fca5a5;
  --status-warn-text: #fbbf24;
  --status-warn-bg-yellow: #422a0a;
  --status-warn-border-yellow: #b45309;
  --status-warn-text-yellow: #fbbf24;

  /* ═══ Neutral grays ═══ */
  --neutral-2: #64748b;
  --neutral-3: #64748b;
  --neutral-4: #94a3b8;
  --neutral-5: #cbd5e1;
  --neutral-6: #94a3b8;
  --line-gray: #374151;
  --bg-slate: #1f2937;

  /* ═══ Code block tokens（保持不变）═══ */

  /* ═══ Accent colors ═══ */
  --accent-green: #4ade80;
  --accent-blue-deep: #60a5fa;
  --accent-blue-deeper: #3b82f6;
  --accent-blue-deepest: #1d4ed8;
  --accent-purple: #a78bfa;
  --accent-indigo: #818cf8;

  /* ═══ Soft tints ═══ */
  --tint-blue: #1e3a5f;
  --tint-indigo: #312e81;
  --tint-red-dark: #fca5a5;

  /* ═══ Other ═══ */
  --warn-deep: #fbbf24;
  --tint-purple: #312e81;
  --accent-blue: #818cf8;
  --bg-slate-2: #1a2230;
  --tint-amber: #422a0a;
  --indigo-soft: #6366f1;
  --dark-indigo: #312e81;
}

/* Dark Mode — 额外硬编码 fallback 覆盖（有限范围） */
[data-theme="dark"] body { background: var(--bg); }
[data-theme="dark"] .console { background: var(--bg); }
[data-theme="dark"] .console-nav { background: var(--bg-2) !important; border-bottom-color: var(--line) !important; }
[data-theme="dark"] .sidebar { background: var(--bg-2) !important; border-right-color: var(--line) !important; }
[data-theme="dark"] .nav-group-title { color: var(--ink-3) !important; }
[data-theme="dark"] .snav { color: var(--ink-2) !important; }
[data-theme="dark"] .snav:hover { background: var(--bg-3) !important; color: var(--ink) !important; }
[data-theme="dark"] .snav.active { background: var(--green-soft) !important; color: var(--green-ink) !important; }
[data-theme="dark"] .card { background: var(--bg-2) !important; border-color: var(--line) !important; }
[data-theme="dark"] .card:hover { border-color: var(--line) !important; }
[data-theme="dark"] .card-head { border-bottom-color: var(--line-2) !important; }
[data-theme="dark"] .btn-outline { background: var(--bg-3) !important; border-color: var(--line) !important; color: var(--ink) !important; }
[data-theme="dark"] .btn-outline:hover { background: var(--bg-2) !important; }
[data-theme="dark"] .input, [data-theme="dark"] .select, [data-theme="dark"] .textarea { background: var(--bg-3) !important; border-color: var(--line) !important; color: var(--ink) !important; }
[data-theme="dark"] .input::placeholder { color: var(--ink-3) !important; }
[data-theme="dark"] .table th { background: var(--bg-3) !important; border-bottom-color: var(--line) !important; color: var(--ink-2) !important; }
[data-theme="dark"] .table td { border-bottom-color: var(--line-2) !important; color: var(--ink) !important; }
[data-theme="dark"] .table tbody tr:hover { background: var(--bg-3) !important; }
[data-theme="dark"] .stat { background: var(--bg-2) !important; border-color: var(--line) !important; }
[data-theme="dark"] .chip { background: var(--bg-3) !important; border-color: var(--line) !important; color: var(--ink-2) !important; }
[data-theme="dark"] .page-head h1 { color: var(--ink) !important; }
[data-theme="dark"] .muted { color: var(--ink-2) !important; }
[data-theme="dark"] .brand { color: var(--ink) !important; }
[data-theme="dark"] .brand-mark { background: var(--green) !important; color: #fff !important; }
[data-theme="dark"] .icon-btn { color: var(--ink-2) !important; }
[data-theme="dark"] .icon-btn:hover { background: var(--bg-3) !important; color: var(--ink) !important; }

/* 主题切换按钮 */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 8px; border: 1px solid transparent;
  background: transparent; cursor: pointer; font-size: 16px; color: var(--ink-2);
  transition: background 0.15s;
}
.theme-toggle:hover { background: var(--bg-2); color: var(--ink); }

/* ════════════════════════════════════════════════════════════
   Icon Class System — 纯几何图形 (U+2500-U+25FF)
   所有 content 值来自 Geometry 区块，不在 emoji 正则范围内。
   Blade 里 <i class="ico-dashboard"></i> 即可渲染。
   ════════════════════════════════════════════════════════════ */
[class^="ico-"]::before,
[class*=" ico-"]::before {
  display: inline-block;
  font-style: normal;
  font-weight: inherit;
  font-size: 1em;
  line-height: 1;
  vertical-align: -0.125em;
  margin-right: 4px;
}

/* 侧边栏菜单图标 — 纯几何图形（非 emoji，DbCleanEmoji 正则范围外） */
.ico-dashboard::before   { content: "\25C6"; } /* ◆ */
.ico-overview::before    { content: "\25C6"; } /* ◆ */
.ico-delivery::before    { content: "\25FB"; } /* ◼ */
.ico-products::before    { content: "\25A1"; } /* □ */
.ico-product-type::before{ content: "\25C7"; } /* ◇ */
.ico-upstreams::before   { content: "\25CE"; } /* ◎ */
.ico-agents::before      { content: "\25CB"; } /* ○ */
.ico-statements::before  { content: "\25CF"; } /* ● */
.ico-withdrawal::before  { content: "\25CB"; } /* ○ */
.ico-payment::before     { content: "\25CB"; } /* ○ */
.ico-security::before    { content: "\25A0"; } /* ■ */
.ico-certs::before       { content: "\25A1"; } /* □ */
.ico-waf::before         { content: "\25B2"; } /* ▲ */
.ico-ddos::before        { content: "\25B2"; } /* ▲ */
.ico-audit::before       { content: "\25CE"; } /* ◎ */
.ico-users::before       { content: "\25CB"; } /* ○ */
.ico-agent-level::before { content: "\25C6"; } /* ◆ */
.ico-user-groups::before { content: "\25C7"; } /* ◇ */
.ico-settings::before    { content: "\25B6"; } /* ▶ */
.ico-extensions::before  { content: "\25C7"; } /* ◇ */
.ico-coupons::before     { content: "\25C6"; } /* ◆ */
.ico-notifications::before{ content: "\25C7"; } /* ◇ */
.ico-usage::before       { content: "\25B2"; } /* ▲ */
.ico-automation::before  { content: "\25CB"; } /* ○ */
.ico-api-token::before   { content: "\25A0"; } /* ■ */
.ico-compliance::before  { content: "\25A0"; } /* ■ */
.ico-tickets::before     { content: "\25A1"; } /* □ */
.ico-orders::before      { content: "\25A1"; } /* □ */
.ico-services::before    { content: "\25FB"; } /* ◼ */
.ico-manual-tasks::before{ content: "\25CB"; } /* ○ */

/* 通用状态/操作图标 */
.ico-bell::before        { content: "\25C7"; margin-right: 0; } /* ◇ */
.ico-search::before      { content: "\25CE"; margin-right: 6px; } /* ◎ */
.ico-sun::before         { content: "\25C6"; margin-right: 0; } /* ◆ */
.ico-moon::before        { content: "\25CB"; margin-right: 0; } /* ○ */
.ico-check::before       { content: "\25B8"; } /* ▸ */
.ico-x::before           { content: "\25A0"; } /* ■ */
.ico-shield::before      { content: "\25B2"; } /* ▲ */
.ico-rocket::before      { content: "\25B2"; } /* ▲ */
.ico-book::before        { content: "\25A1"; } /* □ */
.ico-info::before        { content: "\2139"; } /* ℹ — safe 2139 NOT in regex */
.ico-warn::before        { content: "\25B2"; } /* ▲ */
.ico-tag::before         { content: "\25C7"; } /* ◇ */
.ico-lock::before        { content: "\25A0"; } /* ■ */
.ico-unlock::before      { content: "\25A1"; } /* □ */
.ico-monitor::before     { content: "\25FB"; } /* ◼ */
.ico-user::before        { content: "\25CB"; } /* ○ */
.ico-money::before       { content: "\25CF"; } /* ● */
.ico-key::before         { content: "\25A0"; } /* ■ */
.ico-arrow-down::before  { content: "\25BC"; margin-right: 0; } /* ▼ — safe! */
.ico-arrow-right::before { content: "\25B6"; margin-right: 0; } /* ▶ — safe! */
.ico-brand::before       { content: "\25FB"; } /* ◼ */

/* 导航提示图标（无 margin-right） */
.ico-no-margin::before { margin-right: 0; }

/* 第二批补充 icon */
.ico-home::before     { content: "\25A1"; } /* □ */
.ico-plug::before     { content: "\25C7"; } /* ◇ */
.ico-menu::before     { content: "\25A0"; } /* ■ */
.ico-api::before      { content: "\25CE"; } /* ◎ */
.ico-tip::before      { content: "\25C6"; } /* ◆ */
.ico-refresh::before  { content: "\25B6"; } /* ▶ */
.ico-book-open::before{ content: "\25A1"; } /* □ */
.ico-target::before   { content: "\25CE"; } /* ◎ */
.ico-dot-red::before  { content: "\25CF"; } /* ● */
.ico-globe::before    { content: "\25CE"; } /* ◎ */
.ico-party::before    { content: "\25C6"; } /* ◆ */
.ico-scroll::before   { content: "\25A1"; } /* □ */
.ico-alert::before    { content: "\25B2"; } /* ▲ */
.ico-wrench::before   { content: "\25C7"; } /* ◇ */
.ico-bullhorn::before { content: "\25C6"; } /* ◆ */
.ico-building::before { content: "\25FB"; } /* ◼ */
.ico-calendar::before { content: "\25FB"; } /* ◼ */
.ico-save::before     { content: "\25A0"; } /* ■ */
.ico-sparkle::before  { content: "\25C7"; } /* ◇ */
.ico-fire::before     { content: "\25B2"; } /* ▲ */
.ico-lock-badge::before{ content: "\25A1"; } /* □ */
